package com.etone.smartAudit.mapstruct;

import com.etone.smartAudit.domain.DataModelType;
import com.etone.smartAudit.domain.ServerDisk;
import com.etone.smartAudit.dto.dataModelType.DataModelTypeDTO;
import com.etone.smartAudit.vo.dataModelType.DataModelTypeVO;
import com.etone.smartAudit.vo.serverInfo.serverDisk.ServerDiskVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.NullValueCheckStrategy;

import java.util.List;

/**
 * @author: sovy
 * @date: 2020/11/05
 * @description:
 */
@Mapper(componentModel = "spring", nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface DataModelTypeMapStruct {

    DataModelTypeVO getDataModelTypeVO(DataModelType dataModelType);

    void copyToDataModelType(@MappingTarget DataModelType dataModelType, DataModelTypeDTO dataModelTypeDTO);
}
